/**
 * @(#)ApkRetentLogVo.java 2017年11月16日
 * Copyright(C) 2017 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.domian;

import java.io.Serializable;
import java.util.Date;

/**
 * 咪咕音乐留存补量配置
 *
 */
public class MiguVideoRetentAddConfig implements Serializable {

	private static final long serialVersionUID = 1L;
	private Integer id;
	private Integer miguVideoId;
	private Integer retentMonth;
	private Integer execTimes;
	private Integer taskNum;
	private Date createTime;
	private Date modifyTime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getMiguVideoId() {
		return miguVideoId;
	}

	public void setMiguVideoId(Integer miguVideoId) {
		this.miguVideoId = miguVideoId;
	}

	public Integer getExecTimes() {
		return execTimes;
	}

	public void setExecTimes(Integer execTimes) {
		this.execTimes = execTimes;
	}

	public Integer getRetentMonth() {
		return retentMonth;
	}

	public void setRetentMonth(Integer retentMonth) {
		this.retentMonth = retentMonth;
	}

	public Integer getTaskNum() {
		return taskNum;
	}

	public void setTaskNum(Integer taskNum) {
		this.taskNum = taskNum;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((miguVideoId == null) ? 0 : miguVideoId.hashCode());
		result = prime * result + ((execTimes == null) ? 0 : execTimes.hashCode());
		result = prime * result + ((retentMonth == null) ? 0 : retentMonth.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		MiguVideoRetentAddConfig other = (MiguVideoRetentAddConfig) obj;
		if (miguVideoId == null) {
			if (other.miguVideoId != null)
				return false;
		} else if (!miguVideoId.equals(other.miguVideoId))
			return false;
		if (execTimes == null) {
			if (other.execTimes != null)
				return false;
		} else if (!execTimes.equals(other.execTimes))
			return false;
		if (retentMonth == null) {
			if (other.retentMonth != null)
				return false;
		} else if (!retentMonth.equals(other.retentMonth))
			return false;
		return true;
	}

}
